<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link type="text/css" rel="stylesheet" href="{CSS_PATH}ushop/common.css">
<link type="text/css" rel="stylesheet" href="{CSS_PATH}ushop/shoppingcart.css">
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}ushop/base.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}dialog.js"></script>
<script>
$(document).ready(function(){
	$.getJSON('{APP_PATH}api.php?op=add_down&callback=?', function(data){
		if(data.status==1)	{
			document.getElementById("gotoOrderInfo").href = "index.php?m=ushop&c=order&a=init&step=check";
		} else {
			var url = window.location.href;
			document.getElementById("gotoOrderInfo").href='index.php?m=member&c=index&a=login';
		}
	});
});
</script>
</head>
<body>
<!--[if !IE]>收藏夹<![endif]-->
<div id="shortcut">
    <div class="w">
        <div class="collect"><a href="javascript:void(0)" onclick="addToFavorite()">收藏京东商城</a></div>
        <ul style="margin:0;">
        	{if $nickname == 1} 
            	<li class="fore1" id="loginfo">您好:{trim(get_nickname(),'(,)')}，欢迎来到京东商城！<span><a href="{APP_PATH}index.php?m=member&c=index&a=logout">退出</a></span></li>
                <li class="fore2"><a href="">我的订单</a></li>
            {else}
            	<li class="fore1" id="loginfo">您好，欢迎来到京东商城！
                请登入：<a href="{APP_PATH}index.php?m=member&c=index&a=login">登入</a>
                还没有注册？<a href="{APP_PATH}index.php?m=member&c=index&a=register&siteid=1">注册</a>
                </li>
            {/if}
        </ul>
    </div>
</div>
<div class="Wrap_cart">
    <div id="Top1_order_step1" class="Header_cart">
        <div class="Logo"><a href=""><img src="{IMG_PATH}ushop/logo.gif"></a></div>
        <ul class="Order_cart" id="Order_cart_S1">
            <li class="step1">1.我的购物车</li>
            <li class="step2">2.填写核对订单信息</li>
            <li class="step3">3.成功提交订单</li>
        </ul>
    </div>
    <div style="border:#D8BB81 1px solid;background:#FFF7D3;padding:9px;margin-bottom:5px;display:none"> <span style="color:red">全场购物普通快递免运费</span>（不限地区、不限会员级别）
        <div> <span id="freightTip"></span> <a target="_blank" href="">40城市满100元免运费、其它主要城市满400元免运费</a> </div>
    </div>
    <div class="List_cart">
        <h2><strong>我挑选的商品</strong></h2>
        <div class="cart_table">
            <div id="productList">
                <table class="Table" cellpadding="0" cellspacing="0" width="100%" id="CartTb">
                    <tr class="align_Center Thead">
                        <td width="7%" style="height:30px">商品编号</td>
                        <!--td width='6%' style='height:30px;'>商品编号</td-->
                        <td>商品名称</td>
                        <td width="14%">产品价格</td>
                        <td width="8%">赠送积分</td>
                        <td width='10%'>实际价格</td>
                        <td width='10%'>优惠明细</td>
                        <td width="9%">商品数量</td>
                        <td width="7%">删除商品</td>
                    </tr>
                    {loop $data $v}
                    {$v}
                    {/loop}
                </table>
            </div>
            <!--商品添加区开始-->
            <div style="margin:8px 0 0 0;display:none">
                <table class="Table" cellpadding="0" cellspacing="0" width="100%">
                    <tbody>
                        <tr class="align_Center">
                            <td style="height:27px;text-align:left;background:#EBF4FB none repeat scroll 0 0;">添加新商品：</td>
                        </tr>
                        <tr class="align_Center">
                            <td style="height:27px;text-align:left"> 商品编号：
                                <input type="text" id="addSkuId" style="width:60px">
                                购买数量：
                                <input type="text" id="addSkuNum" style="width:30px" value="1">
                                <input type="button" value="添加商品" onclick="AddProductOnEdit(this)" style="border:#AACDED 1px solid;background:#EBF4FB;font-size:12px;height:20px;padding-top:2px;cursor:pointer"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <!--商品列表结束-->
            <ul class="cart_op" style="margin-bottom:0px;">
                <li class="li3">
                    <div id="submit_btn" style="text-align:right"> <img src="fqbtn.gif" id="gotoOrderInfo_fq" style="cursor:pointer;border:none;display:none;" alt="进入分期订单"> <a id="continueBuyBtn" href="index.php?m=ushop&c=index">继续购物</a> <a id="gotoOrderInfo" href="index.php?m=ushop&c=order&a=init&step=check">去结算</a> </div>
                    <input type="button" id="BtnRunOrder_server" style="display:none" onclick="runOrderInfo_server(this);" value="提交" >
                </li>
            </ul>
            <!--[if !IE]>删除区<![endif]-->
            <div id="DeledSkuInfo" style="display:none">
                <div id="divDeledSkuTitle"> 已删除商品，您可以重新购买或加关注： </div>
            </div>
            <div id="ybPanel">
                <div class="yb">
                    <div class="yb_c">
                        <div style="display:none">
                            <h3 style="font-size:13px;">京东贺卡服务 - 好礼附贺卡，心意尽传达！</h3>
                            精美贺卡（<font color="red">可自定义文字内容</font>）&nbsp;&nbsp;&nbsp;&nbsp;<a href="" onclick="Card_Add();"><img src="btn_20.gif"></a> </div>
                        <div style="display:">
                            <h3 style="font-size:13px;">购买延保服务 - 保修时间更长，使用更安心！<a href="" class="link_1" target="_blank">查看保修范围</a></h3>
                            <div>戴尔（DELL）Inspiron14V 14英寸笔记本电脑（i3-2310M 2G 500G 1G独显 HD6470M D刻）黑色：<br>
                                <div><a target="_blank" href="">延保通 笔记本 保修二年 特有多项意外保障</a><em class="font1"></em>，仅需<strong class="font1">￥469.00</strong>&nbsp;&nbsp;<a href="" ><img src="{IMG_PATH}ushop/btn_20.gif"></a></div>
                                <div><a target="_blank" href="" >延保通 笔记本 延长保修一年 特有多项额外保障</a><em class="font1"></em>，仅需<strong class="font1">￥330.00</strong>&nbsp;&nbsp;<a href=""><img src="{IMG_PATH}ushop/btn_20.gif"></a></div>
                                <div><a target="_blank" href="">延保通 笔记本 延长保修一年 特有多项额外保障</a><em class="font1"></em>，仅需<strong class="font1">￥330.00</strong>&nbsp;&nbsp;<a href=""><img src="{IMG_PATH}ushop/btn_20.gif"></a></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{template "ushop","footer"} 
